package com.sunnada.edu.system.upload.service;

import java.util.HashMap;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sunnada.edu.system.pub.common.Plupload;

@Service
@Transactional
public interface UploadService {
	
	/***
	 * explain 附件总记录 
	 * @param params
	 * @return int
	 */
	public int getUploadCots(HashMap<String, String> params);
	/***
	 * explain 附件查询 
	 * @param params
	 * @return List<?>
	 */
	public List<?> findUpload(HashMap<String, String> params);
	public String materialUpload(Plupload plupload,HashMap<String, String> param);
	public int uploadAdd(HashMap<String, String> params);
	public List<?> findUploadById(HashMap<String, String> params);
	public String uploadDel(HashMap<String, String> params);
}
